package com.mf.entity.bo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.ToString;

import java.io.Serial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * @author mf
 * @since 2024-09-01
 */
@Getter
@ToString
@Setter
@TableName("p_family_info")

public class FamilyInfoBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 单位或住址
     */
    private String company;

    /**
     * 职业
     */
    private String job;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 姓名
     */
    private String name;

    /**
     * 关系
     */
    private String relation;

    /**
     * 备注
     */
    private String remark;

    /**
     * 1:删除；0：使用
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 花名册id
     */
    private Integer rosterId;


    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}